<template>
  <view class="main">
    <up-parse :content="content"></up-parse>
  </view>
</template>

<script setup>
import { ref } from 'vue';
import {proxy} from '@/api/apiList';
import {onLoad} from '@dcloudio/uni-app'

// 创建响应式数据
const content = ref(``);

onLoad(() => {
  getProxy()
})

// 获取用户协议
const getProxy = async () => {
  const res = await proxy('partner')
  if(res.code == 200) {
    content.value = res.data.partner
  }
}
</script>

<style lang="scss" scoped>
.main {
  padding: 60rpx;
}
</style>